package com.ita.pojo;

import java.util.Date;

public class User {

	private Integer id;
	private String username;
	private double salary;
	private Date birth;
	private String sex;
	private byte[] avatar;

	public User() {
		super();
	}

	public User(Integer id, String username, double salary, Date birth,
			String sex, byte[] avatar) {
		super();
		this.id = id;
		this.username = username;
		this.salary = salary;
		this.birth = birth;
		this.sex = sex;
		this.avatar = avatar;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public byte[] getAvatar() {
		return avatar;
	}

	public void setAvatar(byte[] avatar) {
		this.avatar = avatar;
	}

}
